//
//  UITableView+Plus.h
//  iRemarkable
//
//  Created by liunex on 13-10-27.
//  Copyright (c) 2013年 iRemarkable. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface UITableView (Plus)



-(void)hideSeperatorLine:(BOOL)hide;


-(void)updateGroupTableIndexSourceDataList:(NSMutableArray *)sourceDataList targetList:(NSArray *)targetList;

-(void)updatePlainTableIndexSourceDataList:(NSMutableArray *)sourceDataList targetList:(NSArray *)targetList;

-(void)scrollToTopAnimated:(BOOL)animated;
-(void)scrollToBottomAnimated:(BOOL)animated;

/**
 *  set seperator's X margin left to zero
 */
-(void)setSeperatorXMarginLeftZero;


-(void)createFooterNoMoreDataView;

- (void)hideEmptySeparators;

-(NSInteger)obtainDataCount;

@end
